﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace r2mp_MTA.Symbs
{
    class Tri3 : Symbols
    {
        public void drawIt(System.Drawing.Graphics g, System.Drawing.PointF p, float length, System.Drawing.Brush brush)
        {
            List<PointF> points = new List<PointF>();
            points.Add(new PointF(p.X - length / 2, p.Y + length / 2));
            points.Add(new PointF(p.X - length / 2, p.Y - length / 2));
            points.Add(new PointF(p.X + length / 2, p.Y));
            g.FillPolygon(brush,points.ToArray());
        }
    }
}
